<template><div><h1 id="手机调试本地页面" tabindex="-1"><a class="header-anchor" href="#手机调试本地页面" aria-hidden="true">#</a> 手机调试本地页面</h1>
<h3 id="_1、cmd-命令行中-安装http-server" tabindex="-1"><a class="header-anchor" href="#_1、cmd-命令行中-安装http-server" aria-hidden="true">#</a> 1、cmd 命令行中 安装http-server:</h3>
<div class="language-javascript ext-js line-numbers-mode"><pre v-pre class="language-javascript"><code>npm install http<span class="token operator">-</span>server <span class="token operator">-</span>g
<span class="token comment">// or</span>
npm install serve <span class="token operator">-</span>g
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_2、开启-http-server服务-http-server" tabindex="-1"><a class="header-anchor" href="#_2、开启-http-server服务-http-server" aria-hidden="true">#</a> 2、开启 http-server服务：  http-server</h3>
<h3 id="_3、开启-server服务-server" tabindex="-1"><a class="header-anchor" href="#_3、开启-server服务-server" aria-hidden="true">#</a> 3、开启 server服务：  server</h3>
<p><strong>例如:进入dist文件夹，打开cmd，直接输入serve启动项目就可以</strong></p>
</div></template>


